<?php
ini_set('display_errors', 1);
error_reporting(-1);
require_once '/data/wwwroot/g_vendor/autoload.php';

use Biz\model\ShopCategoryClassify as mShopCategoryClassify;

mShopCategoryClassify::update([
    'deep' => mShopCategoryClassify::DEEP_FIRST_CLASSIFY
],[
    'parent_id' => 0,
    'cate_id' => 0
]);

mShopCategoryClassify::update([
    'deep' => mShopCategoryClassify::DEEP_SECOND_CLASSIFY
],[
    'parent_id[!]' => 0,
    'cate_id' => 0
]);

mShopCategoryClassify::update([
    'deep' => mShopCategoryClassify::DEEP_THIRD_CLAORCATE
],[
    'parent_id[!]' => 0,
    'cate_id[!]' => 0
]);
